package at.ac.tuwien.infosys.aic11.fault;

import javax.xml.ws.WebFault;

@WebFault(name="UnknownDurationFault")
public class UnknownDurationFault extends Exception{
	
	private static final long serialVersionUID = 1L;
	
	private SOAPException faultInfo;
	
	public UnknownDurationFault(String message) {
        super(message);
       
    }
	
	public UnknownDurationFault(String message, SOAPException faultInfo){
		super(message);
		this.faultInfo=faultInfo;
	}

	public SOAPException getFaultInfo() {
	     return faultInfo;
	}
}
